package com.chj.dao;

import java.util.List;

import com.chj.entity.NetWork;

public interface NetWorkDAO {

    //保存校验
    public int Save(NetWork netWork);

  //保存校验
    public NetWork get(String networkId);

    //网点名称存在
    public boolean isNetWorkIsExist(String netWorkName);

    //按照对应网点一部分信息进行查询
    public List<NetWork> getNetWorkList(String  networkName     
                                      , Integer networkParkSize 
                                      , String  networkProvince 
                                      , String  networkCity     
                                      , String  networkArea     
                                      , String  networkPrice    
                                      , String  networkTimeBegin
                                      , String  networkTimeEnd  
                                      , Integer networkType
                                      , int page
                                      , int rows);
    public int getNetWorkListSize(String  networkName     
                                , Integer networkParkSize 
                                , String  networkProvince 
                                , String  networkCity     
                                , String  networkArea     
                                , String  networkPrice    
                                , String  networkTimeBegin
                                , String  networkTimeEnd  
                                , Integer networkType);
    
    public List<NetWork> getNetworkAllList();

    public int deleteNetwork(String networkId);

    //更新操作
    public int modifyNetwork(NetWork dbNetwork);
}
